<div class="span10">
    <?php echo form_open_multipart('dosen/upload_file', 'class="form-horizontal"') ?>
    <legend>{nama}</legend>
    <div class="control-group">
        <label class="control-label">Mata Kuliah</label>
        <div class="controls">
            <select name="matkul">
                <?php foreach ($matkul as $data): ?>
                <option value="<?php echo $data->id?>"><?php echo $data->matkul ?></option>
                <?php endforeach; ?>
            </select>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">Judul materi</label>
        <div class="controls">
            <input type="text" placeholder="Judul" name="judul">
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">Sinopsis</label>
        <div class="controls">
            <textarea placeholder="Sinopsis" name="sinopsis"></textarea>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">File Materi</label>
        <div class="controls">
            <input type="file" name="userfile">
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">Status</label>
        <div class="controls">
            <label class="radio">
              <input type="radio" name="status" value="Public" checked="">
              Public ( Dapat oleh siapapun )
            </label>
            <label class="radio">
              <input type="radio" name="status" value="Private">
              Private ( Hanya dapat diakses oleh Mahasiswa dan Dosen )
            </label>
        </div>
    </div>
    <div class="control-group">
        <div class="controls">
            <button type="submit" class="btn btn-info">Upload</button>
        </div>
    </div>
    <?php echo form_close() ?>
</div><!--/span-->